package br.com.toscano.gobra.view;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;

import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletResponse;

import br.com.toscano.gobra.util.Util;
import br.gov.frameworkdemoiselle.stereotype.ViewController;

@ViewController
public class ObraResumoMB extends ObraListMB {

	private Long id;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	private static final long serialVersionUID = 1L;
	
	public void imprimir() throws IOException {
		try{
			Util.downLoad("resumo.pdf");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}